home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 016a / status34.zip / STATUS.DOC < prev    next >
Text File  |  1993-06-05  |  22KB  |  477 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                         Network Mail Status (Postlink Version)
  8.           =================================================================
  9.  
  10.                First  off I  would like  to thank  those users  who offered
  11.           suggestions and made comments.  Some functions and displays, even
  12.           utilities, are the direct result of this input.
  13.  
  14.                This program generates a network import mail status bulletin
  15.           showing  each conference, 1000  maximum, and the  total number of
  16.           messages imported for  current date  and total to  date for  each
  17.           conferences, total conferences and the total messages to date for
  18.           the specified network.
  19.  
  20.                Also generates  last  import bulletin  showing  last  import
  21.           information: date, time, total messages import in last import and
  22.           total messages imported to date.
  23.  
  24.                It also generates a network export mail status bulletin with
  25.           the  same format as the  above import bulletin.  Since the export
  26.           routine  contains all  conference names  it is  run first  to get
  27.           those  names so  that  conferences with  zero  imports are  still
  28.           displayed in the import bulletin. I could not find another way to
  29.           get all conference names.
  30.  
  31.                Supports  multiple  networks. This  program  uses Postlink's
  32.           export  / import log(s). Single  log file or  separate Import and
  33.           Export  logs.  It does  a monthly  rollover  of the  LOG(s) using
  34.           PKZIP.EXE.  There is  an eighteen  character limit  on conference
  35.           names, names longer than that are truncated.
  36.  
  37.                Starting with version 2.4 there are major changes in the way
  38.           the program runs. Command line parameters have changed once again
  39.           and options are now  in a nine line configuration  file. Requires
  40.           registration  to  remove   "Unregistered  BBS"  from   bulletins.
  41.           Starting with  2.6 you do  not have to  be in the  directory with
  42.           STATUS.EXE nor  does it have  to be on  your path if you  set the
  43.           environment variable.
  44.  
  45.  
  46.                This archive should contain the following files:
  47.  
  48.                STATUS.EXE............ Actual program
  49.                STATUS.DOC............ This file
  50.                STATUS.CFG............ Sample configuration file     
  51.                STATUS2.CFG........... Sample configuration file
  52.                STATUS3.CFG........... Sample configuration file
  53.                CLEANUP.EXE........... Postlink log reduction utility
  54.                READ.ME............... Update/changes information
  55.                STATUS.BAT............ Sample batch file
  56.                FILE_ID.DIZ........... BBS description file
  57.                SUPPORT.TXT........... Location of Support BBS
  58.                ARCHIVE.TXT........... This list of files
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                Syntax is pretty straight forward:
  65.  
  66.                                   STATUS STATUS.CFG
  67.  
  68.                Full path  to STATUS.EXE may  be used if  not in path  or in
  69.           current  directory.  If  you do  use  a  path  statement in  your
  70.           execution  of Status (not in current dir  or in path) you need to
  71.           set the environment variable "SET STATUS=path to STATUS.EXE" (SET
  72.           STATUS=C:\UTILITY\OTHER, etc. no ending slash is needed).
  73.  
  74.                It  is  not  necessary  to  add  a  path  statement  to  the
  75.           configuration file since the program  finds itself. Of course the
  76.           file must be in location of STATUS.EXE. If the configuration file
  77.           is not in  the same location then use the  path statement to it's
  78.           location. 
  79.  
  80.                "STATUS.CFG" and can  have any file name  with the following
  81.           format. Paths  to bulletins or logs are not needed if they are in
  82.           or written to the current directory:
  83.  
  84.                          (1) Unregistered BBS
  85.                          (2) 0000
  86.                          (3) Postlink
  87.                          (4) POST1.LOG
  88.                          (5) C:\BBS\BLT7
  89.                          (6) POST2.LOG
  90.                          (7) C:\BBS\BLT77
  91.                          (8) C:\BBS\BLT777
  92.                          (9) PCB
  93.  
  94.                                      CFG line #1
  95.  
  96.                "Unregistered BBS", system name if registered
  97.  
  98.                                      CFG line #2
  99.  
  100.                "0000", serial number if registered.
  101.  
  102.                                      CFG line #3
  103.  
  104.                "Postlink"  should be the name of the actual network you are
  105.           using,  one word and  case sensitive (Rime,  AccessNet, etc.). 18
  106.           characters max, longer  names are truncated.  Say you are  making
  107.           two different network mail runs with the same software, you would
  108.           use those names here, each in it's own configuration file.
  109.            
  110.                                      CFG line #4
  111.  
  112.                "POST1.LOG" is the  path and  name of  your Postlink  Export
  113.           log.  Lines #4  and #6  can contain  the same  file name  if your
  114.           Export and Import logs are in one file.
  115.  
  116.                                      CFG line #5
  117.  
  118.  
  119.  
  120.  
  121.  
  122.                "C:\BBS\BLT7" is the path and name for your Export bulletin.
  123.  
  124.                                      CFG line #6
  125.  
  126.                "POST2.LOG" is  the path and  name of  your Postlink  Import
  127.           log.  Lines #4  and #6  can contain  the same  file name  if your
  128.           Export and Import logs are in one file.
  129.  
  130.                                      CFG line #7
  131.  
  132.                "C:\BBS\BLT77"  is  the  path   and  name  for  your  Import
  133.           bulletin.
  134.  
  135.  
  136.                                      CFG line #8
  137.  
  138.                "C:\BBS\BLT777" is  the path and  name for your  Last Import
  139.           bulletin.
  140.  
  141.                                      CFG line #9
  142.  
  143.                Color  and characters used are  as follows and  are setup to
  144.           give the sysop  as much control over the  output as possible. Not
  145.           all users  can read  and handle IBM  extended graphic  characters
  146.           (like  sight impaired users and  voice hardware). Program can use
  147.           either "=/-" or IBM's extended  graphic characters "═/─". Line #9
  148.           should contain one of the following options:
  149.  
  150.                "PCB" use IBM extended  graphic characters and PCBoard's @X0
  151.           colorizing codes.
  152.  
  153.                "PCB0" use no IBM  extended graphic characters and PCBoard's
  154.           @X0 colorizing codes.
  155.  
  156.                "ANSI"  use   colorizing   and  no   IBM  extended   graphic
  157.           characters.
  158.  
  159.                "ANSI2" use colorizing and IBM extended graphic characters.
  160.  
  161.                "ASCII"  use  no  colorizing  and no  IBM  extended  graphic
  162.           characters.
  163.  
  164.                "ASCII2"  use   no  colorizing  and  IBM   extended  graphic
  165.           characters.
  166.  
  167.  
  168.  
  169.  
  170.  
  171.                          PKZIP.EXE used by the Status Program
  172.  
  173.                "PKZIP.EXE" must be somewhere in your path or in the current
  174.           directory. When  the month  changes in the  export/import.log the
  175.           program  archives the  current log  into a  file using  'ML'+ the
  176.           current date  (ML010193.ZIP, etc.). It also  includes the current
  177.           logs (1 or  2) and all  three bulletins. It  creates this in  the
  178.           directory  that  contains  the  log  file(s).  The  program  then
  179.           rewrites  the log using only  the current new  month's data. This
  180.           way there is only one month's log data in your Postlink log(s).
  181.  
  182.                I  have made a work  around for the  archiving problems with
  183.           logs with Share being loaded. The work around is invisible to the
  184.           user.
  185.  
  186.                The bulletins  are  added  to the  archive  so  that  sysops
  187.           wanting to see totals would have the last ones generated prior to
  188.           the  rollover without having to do so manually. With an editor it
  189.           is possible  to clip  out the  totals at  rollover  and create  a
  190.           yearly bulletin showing the totals for each month, adding them up
  191.           and showing a  yearly grand total using  just as little as  12-15
  192.           lines.
  193.  
  194.                If you do not want the previous month's log(s) simply delete
  195.           the archive from your  hard drive. In your calling batch file you
  196.           can  add "IF EXIST ML*.ZIP DEL ML*.ZIP" and this will auto-delete
  197.           the  archive. If there  are no imported/exported  messages on the
  198.           day of the rollover then a bulletin reflecting same is generated.
  199.           There must be at least one meg of free disk space for the archive
  200.           to be executed. I have  no idea the possible sizes and  if anyone
  201.           has problems with the archive with  one meg as the minimum please
  202.           let  me know  and I  will  increase the  size of  the free  space
  203.           needed. I have been  unable to trap PKZIP.EXE errors  from within
  204.           my  Turbo Pascal 7.0 programs.  I believe PKZIP  handles them and
  205.           does not pass them along to operating system.
  206.  
  207.  
  208.                                         Errors
  209.  
  210.                Errors  are written to the same directory as STATUS.EXE in a
  211.           file  called STATUS.ERR.  If the  file already  exists additional
  212.           errors  are appended to  the end of  the file. It  may be deleted
  213.           after you have  made note of  any errors.  It's existence it  not
  214.           required by the program.
  215.  
  216.                During   the  start  up  procedures  that  program  displays
  217.           "Searching!" while  it is looking for the directory STATUS.EXE is
  218.           located  in.  Also "Configuring!"  while  it  is reading  in  and
  219.           verifying the configuration file. These are to show the user what
  220.           the  program is  doing should  lockups occur.  I had  problems in
  221.           these area and took some time to isolate them, at least now these
  222.           problem area can  be isolated. Normally these two displays should
  223.           be  very quick and unreadable  depending on the  system speed and
  224.           it's and Status' configuration.
  225.  
  226.  
  227.  
  228.  
  229.  
  230.                It should be noted that when you start using Status if  your
  231.           Postlink log(s) are not  the current month's logs that  they will
  232.           not roll over until the month rolls over inside the log. Say your
  233.           log(s) are dated 01-15-93 and you start using Status in 02-93, no
  234.           messages since  01-15-93, the log  will still  show the  messages
  235.           imported up till  01-15-93. If your log contains  multiple months
  236.           of logs when  it rolls them  over you will only  end up with  the
  237.           previous month's log, the  others will have been over  written by
  238.           the last one in the  archive. Either that or you can  archive the
  239.           log(s) and delete everything  up to the current month  before you
  240.           run Status for the first time.
  241.  
  242.                If  you are making two  or more DIFFERENT  network mail runs
  243.           the only  thing  you  must  do  is make  two  or  more  different
  244.           POSTLINK.CFG files,  one with the name  of the LOG file  for each
  245.           network  so that ALL logs are not put into one file. I would have
  246.           no way  of knowing what messages came  from what network in order
  247.           to separate them. You would then just have a TEMP1.CFG, TEMP2.CFG
  248.           and when you call postlink you just copy TEMP1.CFG  POSTLINK.CFG,
  249.           then on next run you might copy TEMP2.CFG POSTLINK.CFG, etc.
  250.  
  251.                A simple batch file might look like one of these:
  252.  
  253.                     SET STATUS=C:\UTILITY
  254.                     CD \POSTLINK
  255.                     COPY TEMP1.CFG POSTLINK.CFG
  256.                     POSTLINK CALLER.CFG
  257.                     STATUS STATUS.CFG
  258.                     SET STATUS=
  259.  
  260.  
  261.                     SET STATUS=C:\UTILITY
  262.                     CD \POSTLINK
  263.                     Copy TEMP2.CFG POSTLINK.CFG
  264.                     POSTLINK CALLER2.CFG
  265.                     C:\UTILITY\STATUS STATUS2.CFG
  266.                     SET STATUS=
  267.  
  268.                Perhaps you want  to make  a bulletin with  the PCBoard  @X0
  269.           codes  and one using straight  ASCII codes and  yet another using
  270.           ANSI codes. The .CFG  files would contain the bulletin  names and
  271.           the form setting (#9):
  272.  
  273.                STATUS STATUS.CFG
  274.                (.CFG with PCB, uses ANSI codes and IBM extended graphic
  275.                 characters)
  276.  
  277.                STATUS STATUS2.CFG
  278.                (.CFG with ASCII, ASCII and no IBM extended graphic
  279.                 characters)
  280.  
  281.                STATUS STATUS3.CFG
  282.                (.CFG with ANSI, ANSI colors and no IBM extended graphic
  283.                 characters)
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.                You just call STATUS as  many times as needed, with  as many
  291.           configuration files  as needed  to generate whatever  formats you
  292.           want.  On my 386/33 it takes less  than twenty seconds to run the
  293.           program on a 6,500 line test log (from three BBS systems).
  294.  
  295.  
  296.                                      This Program
  297.  
  298.                If you don't like the program please write to me and explain
  299.           why. Send me any suggestions you might have. If  they enhance the
  300.           overall program I will try to incorporate part, some, all, in the
  301.           next release.
  302.  
  303.  
  304.                                      CLEANUP.EXE
  305.  
  306.                               CLEANUP [path]logfile.ext
  307.  
  308.                CleanUp must  be in current  directory or somewhere  in your
  309.           path statement.  You may include a full name and path to your log
  310.           file. Check list of lines that are deleted to make sure it is not
  311.           going to remove any lines that you want to remain in your copy of
  312.           the Postlink log(s). This is not adjustable by the user, but your
  313.           input is wanted on what is or what is not removed.
  314.  
  315.                Just   type   in   "CleanUp   filename.ext"    or   "CleanUp
  316.           path\filename.ext" and press  enter. At the  end of activity  the
  317.           program displays the starting and ending log file sizes, starting
  318.           and  ending line count. The  process may be  lengthy depending on
  319.           the  size of  your log. It  can be  run daily,  bi-daily, or even
  320.           weekly,  which  all depends  on the  growth of  your log  file. A
  321.           program such as Do-Once can be used among many other programs for
  322.           running  programs on  specific days.  All that  is needed  to run
  323.           CleanUp is  as much free space on the  log file drive as the size
  324.           of the log or the program terminates at that point without making
  325.           any changes.
  326.  
  327.                If your BBS  system is critical  on free space  you can  run
  328.           CleanUp  everyday to reduce the size of your Postlink log(s). The
  329.           program removes unneeded conference  exports with zero  messages.
  330.           It  does  not remove  them  all  since  the  first of  each  name
  331.           encountered is used by Status. First it  keeps in memory each new
  332.           conference  name, when  a match  is found  that has  zero message
  333.           then, and  only then, is that line removed from the log. See list
  334.           below  of other lines currently  deleted. It does  nothing to the
  335.           current day's portion of the log. It stops deleting lines when it
  336.           finds the log date equals the  current system date. It can reduce
  337.           the size of your log up to  about 60%, perhaps even more on  some
  338.           systems. Depends on how many mail  runs you make each day, if you
  339.           are a Hub, errors, etc.
  340.  
  341.                If your hard drive space it not at a premium or speed is not
  342.           critical then you  really do not  have to  run CleanUp. The  main
  343.  
  344.  
  345.  
  346.  
  347.  
  348.           savings on time  (both CleanUp  and Status) would  be gained  the
  349.           most near  month's end.  It  takes Status  time  to read  in  and
  350.           process logs when they are larger. Lines can reach 30,000 or more
  351.           on a system with a lot of conferences. The savings  would be most
  352.           needed/noticed on  systems that operate  as Hubs for  other nodes
  353.           and/or carry all conferences.
  354.  
  355.                The log file reduction on The Running Board (RUNNINGA (#2)),
  356.           Bonnie Anthony sysop, went from about 7 megs (70,000 lines or so)
  357.           to about 2.5 megs (33,000 lines). Status was running real slow by
  358.           month's end and  the log was too large to  load into most editors
  359.           to view activity. After  running CleanUp the log could  be easily
  360.           loaded  into the editor. You log might  not be this large, but it
  361.           will reduce it's size.
  362.  
  363.                Currently lines starting with the following information  are
  364.           deleted plus any blank lines along with the unneeded zero message
  365.           exports:
  366.  
  367.           <-starting position in log
  368.  
  369.           Attempt
  370.           Corrupted
  371.           error
  372.           Error Occurred
  373.           filesend
  374.           sendpkt
  375.           Unable to
  376.           Undeliverable
  377.                  (Bi-
  378.                  error
  379.                  File received
  380.                  File sent
  381.                  dict.net
  382.                  pcbnet
  383.                  ppost
  384.                  Preamble
  385.                  Site
  386.                  Skipping
  387.                  Unable to
  388.  
  389.                Regardless of  what is deleted the  current day's activities
  390.           are not altered in any way. Items deleted may change as I receive
  391.           any feedback.
  392.  
  393.                                         Errors
  394.  
  395.                Errors are written to the current directory in a file called
  396.           CLEANUP.ERR.  If the  file already  exists additional  errors are
  397.           appended to the end of the file. It may be deleted after you have
  398.           made  note of any errors.  It's existence it  not required by the
  399.           program. Current directory is wherever you call CLEANUP.EXE from.
  400.  
  401.  
  402.  
  403.  
  404.  
  405.                                  Status Registration
  406.  
  407.                 The  Status  and  CleanUp  represents many  long  hours  of
  408.           programming, testing, updating  and more  testing as  well as  LD
  409.           telephone calls  to  get  it  tested or  distribute  the  release
  410.           copies. Please support my efforts and register your copy.
  411.  
  412.                If you find this program  useful please send BBS information
  413.           and one of the following in U.S. funds only:
  414.  
  415.                Registration only via routed node ID................$10
  416.                Not a safe or reliable form of registration.
  417.  
  418.                Registration only via mail..........................$10
  419.                (outside U.S. please add $2) Better registration.
  420.  
  421.                Registration and latest version via mail........... $12
  422.                (outside U.S. please add $4) Include diskette size.
  423.  
  424.           FROM: 
  425.                   Name: 
  426.                        ---------------------------------------------------
  427.                Address:  
  428.                        ---------------------------------------------------
  429.                   City: 
  430.                        ---------------------------------------------------
  431.            State & Zip: 
  432.                        ---------------------------------------------------
  433.                 HUB ID:                       NODE ID:
  434.                        ----------------------         --------------------
  435.           Phone(voice):                        (data)
  436.                        ----------------------        ---------------------
  437.  
  438.           Diskette type if registration includes current version
  439.                                            (360, 1.2, 720, 1.44) ---------
  440.  
  441.           Your version number. If you have current version any
  442.           version request fee is returned.                       ---------
  443.  
  444.              Please supply  name of  BBS to  be  added to  program. It  may
  445.           include  other data up to sixty  characters. Anything longer than
  446.           that will  be truncated, no exceptions. This is to be on one line
  447.           of  code and must be legible since  the serial number is based on
  448.           exact syntax. I cannot be responsible for unreadable data. Please
  449.           print. Case sensitive!
  450.  
  451.           Example:  "Jim's  Graphic BBS".  In Status  it  comes out  as the
  452.           following in all bulletins generated  (example is no IBM extended
  453.           graphic characters):
  454.  
  455.                ==================(Jim's Graphic BBS)==================
  456.  
  457.             -------------------------------------------------------------
  458.  
  459.  
  460.  
  461.  
  462.  
  463.                Your registration  number, and  any diskettes  if requesting
  464.           current version  or other software, are be sent by return mail or
  465.           via Rime and routed Node ID if this is your choice.
  466.  
  467.                     James Huckabey
  468.                     3621-A Fraser Street
  469.                     Bellingham, Washington 98226 U.S.A.
  470.                     (206) 671-2868 (voice) I do have a USR 14.4 DS!
  471.  
  472.                You can also contact me at:
  473.  
  474.                     Corporate Headquarters BBS, Romeoville, Illinois.
  475.                     Sysop: Bob Neal
  476.                     RelayNet (tm): CHQBBS (#1255)
  477.                     (815) 886-3233 / (815) 886-9381 (14400 V32bis)